﻿using UnityEngine;

namespace ZFramework.Runtime
{
    public class FguiAllPackageInfoAsset : ScriptableObject
    {
        [SerializeField] private string[] _packageNames;
        [SerializeField] private string[] _descAssetPaths;
        [SerializeField] private string[] _atlasRootPaths;

        public string[] PackageNames => _packageNames;
        
        public string[] DescAssetPaths => _descAssetPaths; 
        
        public string[] AtlasRootPaths => _atlasRootPaths;

        public void Set(string[] packageNames, string[] descAssetPaths, string[] atlasRootPaths)
        {
            _packageNames = packageNames;
            _descAssetPaths = descAssetPaths;
            _atlasRootPaths = atlasRootPaths;
        }
    }
}